package cn.itlaobing.vo;

import java.io.Serializable;

/**
 * Created by Berlin-IOU on 2017/12/7.
 */
public class JsonResult<T> implements Serializable {
    private Status status=Status.INFO;
    private String message="";
    private T context;

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getContext() {
        return context;
    }

    public void setContext(T context) {
        this.context = context;
    }

    public JsonResult(Status status, String message) {
        this.status = status;
        this.message = message;
    }

    public JsonResult(Status status, String message, T context) {
        this.status = status;
        this.message = message;
        this.context = context;
    }
}
